<extend name="Index/index"/>

<block name="box">
    <div class="view-product">
    <div class="info-center">
        <div class="manage-head">
            <h6 class="padding-left manage-head-con">{{$title}}</h6>
        </div>
    </div>
    <div class="layui-container" style="margin-top: 20px">
        <div class="layui-row">

            <div class="layui-col-md5 layui-col-md-offset1">
                <form class="layui-form" action="{{:U('Category/editCategoryDo')}}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">分类名称</label>
                        <div class="layui-input-inline">
                            <input type="text" name="name" required  lay-verify="required"  autocomplete="off" class="layui-input" value="{{$name}}">
                        </div>
                    </div>
                    <input type="hidden" value="{{$id}}" name="id">
                    <input type="hidden" value="{{$pid}}" name="pid">
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit >立即提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>

            </div>
        </div>
    </div>
</div>
</block>